package com.eurabia.eggchat.service;

import java.util.List;
import com.github.pagehelper.Page;
import com.eurabia.eggchat.pojo.SysEggchatValidation;
import com.eurabia.eggchat.pojo.form.SysEggchatValidationForm;
import com.eurabia.eggchat.pojo.query.SysEggchatValidationQuery;

/**
 * SysEggchatValidationService 
 */
public interface SysEggchatValidationService {

    /**
     * 查询 SysEggchatValidation
     */
    List<SysEggchatValidation> find(final SysEggchatValidationQuery query);
    
    /**
     * 分页查询 SysEggchatValidation
     */
    Page<SysEggchatValidation> findByPage(final SysEggchatValidationQuery query);

    /**
     * 通过id得到一个 SysEggchatValidation
     */
    SysEggchatValidation get(final String id);
    
    /**
     * 新增 SysEggchatValidation
     */
    void add(final SysEggchatValidationForm form);

    /**
     * 修改 SysEggchatValidation
     */
    int update(final SysEggchatValidationForm form);
    
    /**
     * 删除一个 SysEggchatValidation
     */
    int delete(final String id);
	
	/**
     * 修改是否可用
     */
    int changeEnabled(final String id, final Integer enabled);
}